<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'arquivo-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'Busque Seu Arquivo'); ?>
		<?php echo $form->textField($model,'nome',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'nome'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'categoria'); ?>
		<?php echo $form->dropDownList($model, 'categoria', CategoriaEnum::getDataForDropDown(), array('empty' => 'Selecione')); ?>
		<?php echo $form->error($model,'categoria'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Buscar Arquivo'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->